package com.yy.jhl.ui.manager.activity;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.yy.common.base.BaseActivity;
import com.yy.common.commonwidget.OnNoDoubleClickListener;
import com.yy.jhl.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by libingn on 2017/12/7.
 */

public class OrderDetailActivity extends BaseActivity {

    @BindView(R.id.order_name_text)
    TextView orderNameText;
    @BindView(R.id.order_code_text)
    TextView orderCodeText;
    @BindView(R.id.order_content_text)
    TextView orderContentText;
    @BindView(R.id.order_deadline_text)
    TextView orderDeadlineText;
    @BindView(R.id.order_note_text)
    TextView orderNoteText;
    @BindView(R.id.ensure_btn)
    Button ensureBtn;

    public static void startAction(Context mContext) {
        Intent intent = new Intent(mContext, OrderDetailActivity.class);
//        intent.putExtra("loginType", loginType);
        mContext.startActivity(intent);
    }

    @Override
    public int getLayoutId() {
        return R.layout.act_order_detail;
    }

    @Override
    public void initView() {
        showTitle("监管订单", new OnNoDoubleClickListener() {
            @Override
            protected void onNoDoubleClick(View v) {
                finish();
            }
        });
    }
    @OnClick(R.id.ensure_btn)
    public void onViewClicked() {
        //进入监管
        OrderFlowActivity.startAction(mContext,"");
    }
}
